/* 全局样式 */
:root {
    --primary-color: #0066cc;
    --secondary-color: #28b463;
    --text-color: #333333;
    --light-color: #f5f8fa;
    --dark-color: #2c3e50;
    --border-color: #d9d9d9;
    --light-text: #666666;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
    font-size: 16px;
}

p {
    margin-bottom: 1.2em;
    letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
    margin-bottom: 0.8em;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 34px;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 1px;
}

.underline {
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 0 auto;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* 头部 */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 26px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
}

.nav ul li {
    margin-left: 20px;
}

.nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    padding: 10px;
    font-size: 16px;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: var(--primary-color);
}

/* 轮播图 */
.banner {
    margin-top: 80px;
    height: 500px;
    position: relative;
    max-height: 500px;
    overflow: hidden;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.slide {
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide:first-child {
    display: block; /* 确保首张幻灯片默认显示 */
}

/* 淡入淡出动画 */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
    opacity: 1; /* 确保不透明度正确设置 */
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

/* 上一个/下一个按钮 */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 12px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.2);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* 指示点 */
.dots-container {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active-dot, .dot:hover {
    background-color: var(--primary-color);
}

/* 点创介绍 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
    letter-spacing: 0.3px;
}

/* 比奥芳华介绍 */
.brand-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.brand-text p {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
    letter-spacing: 0.3px;
}

/* 品牌历程 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 0;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-date {
    font-weight: 700;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 4px;
    padding: 10px 15px;
    margin-right: 30px;
    width: 80px;
    text-align: center;
}

.timeline-content {
    background-color: #fff;
    border-radius: 4px;
    padding: 24px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    max-width: 400px;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.7;
}

/* 品牌理念 */
.philosophy-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.philosophy-item {
    background-color: #fff;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.philosophy-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.philosophy-item h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* 企业文化 */
.culture-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.culture-item {
    background-color: #fff;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.culture-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
}

.culture-item p {
    font-size: 16px;
    line-height: 1.7;
}

.culture-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 102, 204, 0.1); /* 使用主色调 */
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.culture-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

/* 科研团队 */
.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-member {
    background-color: #fff;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 280px;
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden; /* 确保图片在圆形框内 */
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保图片填满容器且比例正确 */
}

.team-member h3 {
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 19px;
}

.team-member p {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 15px;
}

.team-member p:last-child {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.6;
}

/* 核心技术与研发方向 */
.technology-content {
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    background-color: #fff;
    border-radius: 4px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.tech-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
}

.tech-section {
    margin-top: 40px;
}

.tech-section h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

.tech-directions li {
    margin-bottom: 14px;
    padding-left: 20px;
    position: relative;
    font-size: 16px;
}

.tech-directions li:before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    left: 0;
    top: 8px;
}

/* 联系我们 */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 19px;
    font-weight: 600;
}

.contact-item p {
    font-size: 16px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* 联系我们图标样式 */
.contact-item h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* 页脚 */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 30px;
    flex: 1;
    min-width: 200px;
}

.footer-logo h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 24px;
    letter-spacing: 0.5px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .banner {
        height: 450px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        justify-content: flex-start;
        padding-left: 70px;
    }
    
    .timeline-date {
        position: absolute;
        left: 0;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .nav ul {
        display: none;
    }
    
    .banner {
        height: 350px;
        margin-top: 66px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .philosophy-content {
        flex-direction: column;
        align-items: center;
    }
    
    .philosophy-item {
        max-width: 100%;
    }
    
    .team-member {
        max-width: 100%;
    }
    
    body {
        font-size: 15px;
    }
    
    .about-text p, .brand-text p {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .banner {
        height: 250px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .timeline-content {
        max-width: 100%;
    }
}

/* 添加渐入动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 